package com.jinzhi.jzweb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.utils.Result;
import com.jinzhi.jzweb.domain.JazSignupUserDO;
import com.jinzhi.common.base.CoreService;
import com.jinzhi.jzweb.domain.param.SignUserQuery;

import javax.servlet.http.HttpServletResponse;

/**
 * 
 * <pre>
 * 报名用户（选手）表
 * </pre>
 * <small> 2024-09-05 15:21:59 | Long</small>
 */
public interface JazSignupUserService extends CoreService<JazSignupUserDO> {
    /**
     * 分页查询考生报名信息
     * @param signUserQuery
     * @return
     */
    Page<JazSignupUserDO> selectListPage(SignUserQuery signUserQuery);

    /**
     * 根据id进行查询
     * @param id
     * @return
     */
    JazSignupUserDO getById(Long id);

    /**
     * 修改审核状态
     * @param jazSignupUser
     * @return
     */
    Result<String> updateStatusById(JazSignupUserDO jazSignupUser);

    /**
     * 导出
     * @param response
     * @param signUserQuery
     */
    void downloadImportTemplate(HttpServletResponse response, SignUserQuery signUserQuery);

    /**
     * 修改选手信息
     * @param jazSignupUser
     * @return
     */
    Result<String> updateSignupUserById(JazSignupUserDO jazSignupUser);
}
